import { PageModel, ListModel } from './common';

class ShareModel {
  public accountId: string;
  public createAt: number;
  public expiration: number;
  public id: string;
  public name: string;
  public password: string;
  public privilege: string;
  public projectId: string;
  public type: string;
  public updateAt: number;
  public urn: string;
}

class ShareListModel extends ListModel {
  public items: ShareModel[];
}

class SharePageModel extends PageModel {
  public data: ShareListModel;
}

export {
  SharePageModel,
  ShareModel
};
